﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WPF基础.数据绑定
{
    public class Data
    {
        private string colorname = "Green";
        private int width =300;
        //ColorName属性默认值为Red
        public string ColorName { get => colorname; set =>colorname=value; }
        public int Width { get => width; set => width = value; }

        public string Title { get; set ; }


    }
}
